﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface WarehouseSI
    {
        //仓库查询全部
        Task<List<Sys_warehouse>> Wqu();
        //分页模糊查询
        Task<List<Sys_warehouse>> FenYe(int pageSize, int currentPage, string key = null, int? Status = null);
        //修改状态
        Task<int> UpdStatus(int id, int status);
        //添加
        Task<int> Add(Sys_warehouse add);
        //修改
        Task<int> Upd(Sys_warehouse upd);
        //逻辑删除
        Task<int> UpdIsDelete(int id, int isDelete);
    }
}
